#ifndef __COMM_INTERFACE_H__
#define __COMM_INTERFACE_H__

enum PCI_TYPE_INDEX{
	PCI_PROC_INDEX,
	PCI_UDP_INDEX,
	_PCI_ALL_INDEX,
};

typedef int PCI_TYPE;

#define	PCI_UNKNOWN	0
#define PCI_PROC	1<<PCI_PROC_INDEX
#define PCI_UDP		1<<PCI_UDP_INDEX
 
struct PCI_CONFIG{
	int udp_port;
	char proc_file[256];
};

int register_interface( PCI_TYPE type, struct PCI_CONFIG* pConfig );
#endif

